<?php
	include(ROOTPATH .'class'. DS .'task.class.php');	
	include(ROOTPATH .'include'. DS .'checkUserLogin.php');
	
	$idCode				= getQuery('id');
	$id					= getId('id');
	$sql = 'SELECT * FROM `'. DB_PRE.'task` WHERE `id` = '. $id;	
	$show = $dbs -> select($sql);
	$show = $show[0];
	
	$task = new task();
	$tag = new tag();
	$userInfo = $user -> getUser($show['user_id']);
	
	$isEdit = false;
	if( 0 != $id)
		$isEdit = true;


?>